#include "Screen.h"

#include <QScreen>
#include <QApplication>
#include <QGuiApplication>

#include "NetHeader.h"

int Screen::s_width = -1;
int Screen::s_height = -1;

void Screen::init()
{
    QScreen *s = QGuiApplication::primaryScreen();

    s_width = s->geometry().width();
    s_height = s->geometry().height();

    LOG << "Screen width" << s_width;
    LOG << "Screen height" << s_height;
}

